//
//  getPondTissueListModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/7/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class PondUserModel;
@interface getPondTissueListModel : NSObject

@property (nonatomic ,strong) NSString * createTime;

@property (nonatomic ,strong) NSString * ID;

@property (nonatomic ,strong) NSString * name;
@property (nonatomic ,strong) NSString * TJname;
///父级id
@property (nonatomic ,strong) NSString * parentId;


@property (nonatomic ,strong) NSArray<getPondTissueListModel *> * children;

@property (nonatomic ,assign) BOOL seled;
///最外层
@property (nonatomic ,assign) BOOL isfirst;
///最低部选择
@property (nonatomic ,assign) BOOL islast;

@property (nonatomic ,assign) CGFloat cellW;

@property (nonatomic ,assign) CGFloat childrenMaxcellW;

- (void)allNoSeled;

///给子数据选中赋值
- (void)childrenModelWithModel:(getPondTissueListModel *)model SetSeled:(BOOL)isSeled;

- (getPondTissueListModel *)seledModel;
- (BOOL)modelWithSeledID:(NSString *)ID;
- (NSMutableArray <getPondTissueListModel *> *)modelArray;
@end

///模版选择
@interface templateOptionListModel : NSObject


@property (nonatomic ,strong) NSString * ID;

@property (nonatomic ,strong) NSString * name;
///1:公共 2：个人
@property (nonatomic ,strong) NSString * templateType;

@end

///职务model
@interface PositionUserModel : NSObject

@property (nonatomic ,strong) NSString * ID;

@property (nonatomic ,strong) NSString * name;

@property (nonatomic ,strong) NSArray<PondUserModel *> * userModelList;

@property (nonatomic ,assign) BOOL isSeled;

@end

@interface PondUserModel : NSObject

@property (nonatomic ,strong) NSString * phone;
@property (nonatomic ,strong) NSString * realName;
@property (nonatomic ,strong) NSString * userId;
///身份 1 养殖场管理员 3 普通用户
@property (nonatomic ,assign) NSInteger userIdentity;

@property (nonatomic ,assign) BOOL isSeled;
@property (nonatomic ,strong) NSString * GWName;


@end
NS_ASSUME_NONNULL_END
